﻿using System.Configuration;
using StatusPage.Models;

namespace StatusPage.DataAccess
{
    public class ConfigurationObjectImplExample
        : IConfigurationObjectExample
    {
        public string SomeFolderPath
        {
            get { return ConfigurationManager.AppSettings["SomeFolderPath"]; }
        }

        public string SomeFilePath
        {
            get { return ConfigurationManager.AppSettings["SomeFilePath"]; }
        }

        public string SomeMsSqlConnectionString
        {
            get { return ConfigurationManager.ConnectionStrings["SomeMsSqlConnectionString"].ConnectionString; }
        }
    }
}